package com.sweet.date;

import lombok.Getter;

/**
 * 时间格式化枚举
 *
 * @author limi
 * @date 2022/11/19 14:25
 */
@Getter
public enum TimeFormatPattern {
    DATE_TIME("yyyy-MM-dd HH:mm:ss"),
    DATE("yyyy-MM-dd"),
    TIME("HH:mm:ss"),
    ;
    private String pattern;

    TimeFormatPattern(String pattern) {
        this.pattern = pattern;
    }
}
